<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
//查询数据库数据
require  'dbcon.php';//(1)数据库连接  include
$sql="select * from categories";
$result=$db->query($sql);//执行
$wishdata=$result->fetch_all(MYSQLI_ASSOC);
$result->free_result();
$db->close();//关闭数据库连接
require 'index1_html.php';
